<div class="modal-header" id="scope">
	<h3 class="modal-title" ng-if="param.type == 'insert'">新增</h3>
	<h3 class="modal-title" ng-if="param.type == 'update'">修改</h3>
</div>
<div class="modal-body">
	<form name="myForm" class="form-horizontal form-validation">
		<div class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>真实姓名：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="真实姓名"
							ng-model="param.data.name" ng-maxlength="100" required>
					</div>
					<p>必填。</p>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>昵称：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="昵称"
							ng-model="param.data.nickname" ng-maxlength="10" ng-minlength="1" required>
					</div>
					<p>1-10个字符，支持中英文、数字。</p>
				</div>
<!-- 				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>性别：</label>
					<div class="col-sm-5" style="margin-top: 5px;">
						<label><input type="radio" name="gender" value="0"
							ng-model="param.data.gender"
							ng-checked="param.data.gender==0">男</label> <label
							style="margin-left: 50px"><input type="radio"
							name="gender" value="1" ng-model="param.data.gender"
							ng-checked="param.data.gender==1">女</label>
					</div>
					<p>必填。</p>
				</div> -->
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;">* &nbsp</span>密码：</label>
					<div class="col-sm-5">
						<input type="password" class="form-control" placeholder="密码" ng-model="password" />
					</div>
					<p>字母或数字任意组合，长度在6-22位之间。例：123456a</p>
				</div>
				<div class="form-group" ng-show="qr">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>确认密码：</label>
					<div class="col-sm-5">
						<input type="password" class="form-control" placeholder="确认密码" ng-model="newpassword" />
					</div>
					<p>两次输入的密码必须一致。</p>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>手机：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="手机"
							ng-model="param.data.phone"
							ng-pattern="/^[]|(1[3|4|5|7|8][0-9]\d{8})$/" required />
					</div>
					<p>11位手机号，唯一不可重复。</p>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>身份证号：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="身份证号"
							ng-model="param.data.idCard" ng-maxlength="100" ng-pattern="/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/" required>
					</div>
					<p>18位身份证号，唯一不可重复。</p>
				</div>
<!-- 				<div class="form-group" ng-controller="DatepickerDemoCtrl">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>生日：</label>
					<div class="col-sm-5">
						<div class="input-group">
							<input type="text" class="form-control"
								datepicker-popup="{{format}}" is-open="opened"
								ng-model="param.data.birth" datepicker-options="dateOptions"
								close-text="Close" placeholder="生日" readOnly /> <span
								class="input-group-btn">
								<button type="button" class="btn btn-default"
									ng-click="open($event)">
									<i class="glyphicon glyphicon-calendar"></i>
								</button>
							</span>
						</div>
					</div>
					<p>必填。</p>
				</div> -->
				<div class="form-group">
					<label class="col-sm-3 control-label"><span style="color: red; text-align: center;" >* &nbsp</span>积分：</label>
					<div class="col-sm-5">
						<input type="text" class="form-control" placeholder="积分"
							ng-model="param.data.points" ng-maxlength="100" readonly="readonly">
					</div>
					<p>初始化默认为0，不可手动修改。</p>
				</div>
			</div>
			<footer class="panel-footer text-right bg-light lter">
				<button class="btn btn-default" type="button" ng-click="cancel()">取消</button>
				<button type="submit" class="btn btn-success" ng-click="ok()">提交</button>
			</footer>
		</div>
	</form>
</div>